home *** CD-ROM | disk | FTP | other *** search
/ Sprite 1984 - 1993 / Sprite 1984 - 1993.iso / src / lib / include / sys / stdtypes.h < prev    next >
C/C++ Source or Header  |  1992-09-24  |  1KB  |  51 lines

  1. /*
  2.  * stdtypes.h --
  3.  *
  4.  *    Typedefs for ANSI C and POSIX.
  5.  *
  6.  * Copyright 1991 Regents of the University of California
  7.  * Permission to use, copy, modify, and distribute this
  8.  * software and its documentation for any purpose and without
  9.  * fee is hereby granted, provided that this copyright
  10.  * notice appears in all copies.  The University of California
  11.  * makes no representations about the suitability of this
  12.  * software for any purpose.  It is provided "as is" without
  13.  * express or implied warranty.
  14.  *
  15.  * $Header: /sprite/src/lib/include/sys/RCS/stdtypes.h,v 1.2 92/09/24 15:54:06 ouster Exp $ SPRITE (Berkeley)
  16.  */
  17.  
  18. #ifndef _SYS_STDTYPES_H
  19. #define _SYS_STDTYPES_H
  20.  
  21. typedef int             sigset_t;
  22. typedef unsigned int    speed_t;
  23. typedef unsigned long   tcflag_t;
  24. typedef unsigned char   cc_t;
  25. #ifndef _PID_T
  26. #define _PID_T
  27. typedef int             pid_t;
  28. #endif
  29. #ifndef _MODE_T
  30. #define _MODE_T
  31. typedef    unsigned short  mode_t;
  32. #endif
  33. typedef short           nlink_t;
  34. #ifndef _CLOCK_T
  35. #define _CLOCK_T
  36. typedef long            clock_t;
  37. #endif
  38. #ifndef _TIME_T
  39. #define _TIME_T
  40. typedef long            time_t;
  41. #endif
  42. #ifndef _SIZE_T
  43. #define _SIZE_T
  44. typedef int             size_t;
  45. #endif
  46. typedef int             ptrdiff_t;
  47. typedef unsigned short  wchar_t;
  48.  
  49. #endif /* _SYS_STDTYPES_H */
  50.  
  51.